<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2025/2/7
  Time: 14:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--EL表达式对于四种域对象的查找顺序：pageContext-> request-> session-> application--%>
<%--指定作用域查找：${pageContext.name} ${request.name} ${session.name} ${application.name}--%>
<%
        pageContext.setAttribute("name","page");
        request.setAttribute("name","request");
        session.setAttribute("name","session");
        application.setAttribute("name","application");

//      request.getRequestDispatcher("el2.jsp").forward(request,response);
    %>
    ${name}
</body>
</html>
